package com.hsource.doctorcenter.domain.order;

import com.hsource.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 订单消息回复或者医生总结对象 xy_order_reply
 *
 * @author yangyang
 * @date 2020-10-19
 */
public class OrderReply extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 答复内容
     */
    private String content;

    /**
     * 剩余交互次数
     */
    private Integer leftInteractions;

    /**
     * 是否是医生总结
     */
    private Integer isSummary;

    /**
     * 医生id
     */
    private String doctorId;

    /**
     * 问题id或服务id
     */
    private String problemId;

    /**
     * telephone_summary为定向电话医生总结，fast_phone_summary为快捷电话总结，‘’ 问题回复
     */
    private String status;

    /**
     * 是否推送 1：推送 0：未推送 2：推送失败
     */
    private Integer isPush;

    private String serviceId;

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setLeftInteractions(Integer leftInteractions) {
        this.leftInteractions = leftInteractions;
    }

    public Integer getLeftInteractions() {
        return leftInteractions;
    }

    public void setIsSummary(Integer isSummary) {
        this.isSummary = isSummary;
    }

    public Integer getIsSummary() {
        return isSummary;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }

    public String getProblemId() {
        return problemId;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setIsPush(Integer isPush) {
        this.isPush = isPush;
    }

    public Integer getIsPush() {
        return isPush;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("content", getContent())
                .append("leftInteractions", getLeftInteractions())
                .append("isSummary", getIsSummary())
                .append("doctorId", getDoctorId())
                .append("problemId", getProblemId())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("isPush", getIsPush())
                .toString();
    }
}
